<style type="text/css">

#login{
	background: url("/img/member/login_<?= $this->show_pic?>.jpg") no-repeat;
}
</style>
<?php if ($this->ref):?>
<div class="alert alert-waring">
	<a class="close" data-dismiss="alert">&times;</a>
	<h4>您需要登陆才能继续...</h4>
</div>
<?php endif;?>
<div id="view-content">
	
	<div class="span12">
	
	<div class="row-fluid" id="login">
		
		<span class="login_right">
		<form class="form-horizontal" method="post" action="" name="">
		<h4 class="text-center">用户登陆</h4>
		  <div class="control-group">
		    <label class="control-label" for="inputAccount">账号</label>
		    <div class="controls">
		      <input type="text" id="inputAccount" placeholder="用户名/电子邮箱/手机号码" value="<?= $this->user?>" name="loginaccount" tabindex="1">
		    </div>
		  </div>
		  <div class="control-group">
		    <label class="control-label" for="inputPassword">密码</label>
		    <div class="controls">
		      <input type="password" id="inputPassword" placeholder="请输入密码" name="loginpassword" tabindex="1">
		    </div>
		  </div>
		  
			<div class="control-group hide login-captcha">
			                            
				<div class="controls">
					<a href="javascript:getCaptcha();" id="captcha" ><img src="/img/loading.gif" title="看不清? 点击换一张" alt="正在生成验证图片" /></a>
					<p><small><em>*</em> 输入您看到的字符 <a href="javascript:getCaptcha();">[换一张]</a></small></p>
					<input type="text" name="captcha" value="" placeholder="请输入验证字符" autocomplete="off" tabindex="1" />
				</div>
				<input type="hidden" name="" id="iscaptcha" value="0" />
				<input type="hidden" id="ajax" value="" />
			</div>
		  
		  
		  <div class="control-group">
		    <div class="controls">
		      <label class="checkbox">
		        <input type="checkbox" name="autologin" value="1" tabindex="1"> 自动登陆(公共场所匆选)
		      </label>
		      <button type="submit" class="btn btn-success" id="login_sub">&nbsp;&nbsp;登陆&nbsp;&nbsp;</button>
		      <span class="pull-right"><a href="<?= $this->url(array('controller'=>'member','action'=>'forgot'),null,true)?>" class="btn btn-link">找回密码</a></span>
		    </div>
		    <hr />
		    <p class="text-right"><i class="icon-question-sign"></i> <a href="<?= $this->url(array('controller'=>'member','action'=>'register'),null,true)?>">还没有淘车乐账号? 立即注册!</a></p>
		  </div>
		</form>
		<input type="hidden" value="<?= $this->ref ?>" name="ref" />
		</span>
	
	</div>
	
	</div>

</div>